<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="box"></div>
    
    <script>
        // let str = 'yaxilalei pugai  hanggachan'
        // console.log(str.startsWith("yaxilalei"))
        // console.log(str.endsWith("chan"))
        // console.log('yaxi'.repeat(5))
        // console.log(str.includes('suohai'))


        const info = {
            name: '奥特曼',
            age: 18,
            sex: '男',
            jiguan: {
                guoji: '中国',
                shengfen: '广西',
                shi: '贵港'
            }
        }

        const {name} = info
        const {age} = info
        // console.log(name)


        box.innerHTML = `
        <span>${name}</span>
        <span>${'今年'}</span>
        <span>${age}</span>
        <span>${'岁'}</span>
        `

       console.log( box.innerHTML.includes('扑街'))

    </script>
</body>

</html>